package com.xiangwei.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.xiangwei.entity.Qrcode;

public interface QrcodeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Qrcode record);

    int insertSelective(Qrcode record);
    
    int bathchInsert(Map<String,Object> map);
    
    int existTable(@Param("tableName") String tableName);
    
    int createNewTable(@Param("tableName") String tableName);
    
    int getMaxId(Map<String, Object> qrcode);

	List<Integer> getIdList(Map<String, Object> qrcode);
	
	int createScanrecordTable(@Param("id") String id);
	
	int createGodTable(@Param("tableName") String tableName);
	
	int selectQrcodeCount(Map<String, Object> qrcode);
}